<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>校验器功能测试</title>
</head>
<body>

<!-- 效验器实现 -->
  <form action="register" method="post">
	
		姓名：<input type="text" name="username" placeholder="请输入长度不超过10的字符" value="${error.name}"> ${error.name}<br>
		
		<%-- 年龄：<input type="text" name="age" placeholder="请输入不大于120的年龄" value="${error.age}"> ${error.age}<br> --%>
		<%-- 邮箱：<input type="text" name="email" placeholder="请输入正确的邮箱地址" value="${error.email}"> ${error.email}<br>
		生日：<input type="text" name="date" placeholder="请输入日期" value="${error.date}"> ${error.date}<br> --%>
		<input type="submit" value="提交">
	
	</form>
 

</body>
</html>